/**
 * node.ownerDocument只读属性会返回当前节点的顶层的 document 对象
 **/
var box = document.getElementById('box');
console.log(box.ownerDocument);//#document
console.log(document);//#document
console.log(box.ownerDocument === document);